package com.xms.sdk.event;

import com.xms.event.core.IEvent;
import com.xms.event.core.ObjectUpdatingEvent;
import com.xms.sdk.client.aggroot.AggregateRoot;
import com.xms.sdk.core.AggregateRootMetaData;

/**
 * <p>
 * 聚合根更新前事件
 * </p>
 *
 * @author migo
 * @since 2021/9/29
 */
public class AggRootUpdatingEvent extends ObjectUpdatingEvent<AggregateRoot> implements IEvent
{
    public AggregateRootMetaData AggRootMetaData;

    public AggRootUpdatingEvent(AggregateRoot $origin, AggregateRoot $updated) {
        super($origin, $updated);
    }
}
